⬆️ chore(deps): upgrade all dependencies to latest versions - #1
Merged
Conversation
Proactive dependency refresh. No open Dependabot alerts; this is a "move everything to latest" pass. Manifest change: - whisperx 3.7.4 -> 3.8.6 (the only pinned entry) The other entries (tiktoken, python-dotenv, openai, transformers) are unpinned, so a fresh install already resolves to latest. Existing pinning style is preserved rather than converting them to == pins. Resolved versions on a clean install today: - torch 2.8.0, torchaudio 2.8.0, torchvision 0.23.0 - numpy 2.5.1 (2.x; whisperx 3.8.6 requires numpy>=2.1.0) - transformers 4.57.6 - openai 2.46.0 - tiktoken 0.13.0, python-dotenv 1.2.2 - pyannote-audio 4.0.7, faster-whisper 1.2.1, ctranslate2 4.8.1 transformers is held at 4.57.6, not 5.14.1: whisperx 3.8.6 requires huggingface-hub<1.0.0 while transformers 5.x requires >=1.5.0. This is an upstream conflict, not a local choice. No source changes were needed. The openai 2.x call path (chat.completions.create) and the tiktoken API used by utils/token_counter.py are both unchanged. Also gitignore __pycache__/ so verification runs don't dirty the tree.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proactive "update everything to latest" pass. There were 0 open Dependabot alerts, so this is hygiene rather than a security fix.
Manifest change
requirements.txthad exactly one pinned entry:3.7.4->3.8.6The other four entries (
tiktoken,python-dotenv,openai,transformers) are unpinned. A fresh install already resolves them to latest, so there is nothing to bump textually. I kept the existing mixed pinning style instead of converting them to==pins, since that would be a policy change beyond a version bump. Resolved versions on a clean install today:numpy 1.x -> 2.x boundary
Clean: whisperx 3.8.6 itself requires
numpy>=2.1.0, and the whole resolved tree (torch 2.8, pyannote-audio 4.x, faster-whisper, scipy 1.18, pandas) is numpy-2 native. No pin needed.Pinned back / not upgraded
transformersstays at 4.57.6 — latest is 5.14.1. This is an upstream conflict, not a local choice:transformers can move to 5.x only once whisperx relaxes its
huggingface-hub<1.0.0cap. The resolver picks the highest compatible version automatically, so no explicit pin was added to the manifest.torchis likewise held at 2.8.x by whisperx'storch~=2.8.0.Code changes required
None. The two upgraded APIs the code actually touches are unchanged:
secure_speech_to_text.pyusesOpenAI(base_url=, api_key=)+client.chat.completions.create(...)— stable across openai 2.x.utils/token_counter.pyusestiktoken.encoding_for_model/get_encoding— unchanged.The only other change is adding
__pycache__/and*.py[cod]to.gitignoreso verification runs don't dirty the tree.Verification
Environment: macOS / Apple Silicon (arm64), Python 3.13.11 via
uv venv --python 3.13. Note the system default is Python 3.14, which whisperx does not support (requires_python: >=3.10,<3.14); 3.13 matches the Dockerfile.Everything below was run against a from-scratch venv rebuilt from requirements.txt (
rm -rf .venv && uv venv --python 3.13 && uv pip install -r requirements.txt), which resolved and installed cleanly.uv pip install -r requirements.txtsecure_speech_to_text,best_effort_delete,utils,utils.token_counterwhisperx,torch,transformers,openai,tiktoken,dotenv,numpypython secure_speech_to_text.py --helppython best_effort_delete.py --helppython -m utils.token_counter --helpwhisperx --helppython -m utils.token_counter <sample.txt>(real tiktoken encode)best_effort_delete.py <throwaway file>generate_executive_summary()against a local mock OpenAI-compatible serverexecutive_summary.mdwritten correctlyThe last three are real functional tests, not just imports: tiktoken actually encoded text, the shredder actually destroyed a scratch file, and the openai 2.x request/response path ran end-to-end against a stub server on 127.0.0.1.
What was NOT verified
tests/, notest_*.py.python -m pytestreportsNo module named pytest(pytest isn't a dependency). I did not add tests. The verification above is what I ran in its place..github/workflows/directory exists, so there were no CI commands to reproduce.Dockerfilepath (GPU, torch+cuDNN 9.x on linux/x86_64) was not built or run.tritonis a linux-x86_64-only dep and was never installed here.